package com.growthsee.rider.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author csy
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="RiderCourse对象", description="")
public class RiderCourse implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;
    @ApiModelProperty(value = "课程类型枚举（0.图片，1.视频，2.文本）")
    private String typeCode;
    @ApiModelProperty(value = "课程名称")
    private String name;
    @ApiModelProperty(value = "课程分类id{语文，数学，英语}")
    private String categoryId;
    @ApiModelProperty(value = "课程封面")
    private String cover;
    @ApiModelProperty(value = "课程分数")
    private Integer score;
    @ApiModelProperty(value = "及格分数、通过分数")
    private BigDecimal passScore=new BigDecimal(0);
    @ApiModelProperty(value = "课程类型{1.入职考卷，0.课程}")
    private int type;
    @ApiModelProperty(value = "摘要")
    private String digest;

    private String createBy;

    private Date createTime;

    private String updateBy;

    private Date updateTime;

    @ApiModelProperty(value ="状态")
    private Integer status;

    @ApiModelProperty(value = "删除状态")
    private Integer deleted;






}
